package com.wgtp.ssapp.model;

import java.util.ArrayList;

public class Forum {

	private String name;
	private ArrayList<SubForum> subForums;
	
	public Forum(String name, ArrayList<SubForum> subForums) {
		this.name = name;
		this.subForums = subForums;
	}
	
	public Forum(String name) {
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public ArrayList<SubForum> getSubForums() {
		return subForums;
	}
	
	public void setSubForums(ArrayList<SubForum> subForums) {
		this.subForums = subForums;
	}

	@Override
	public String toString() {
		return "Forum [name=" + name + ", subForums=" + subForums + "]";
	}
	
	
}
